package com.yunsom.testdemo.design.facade;

/**
 * @author Xbao
 * @description
 * @date 2022/6/20 17:54
 */
public class ShapeMaker {

  private Shape circle;
  private Shape rectangle;
  private Shape squre;

  public ShapeMaker(){
    circle = new Circle();
    rectangle = new Rectangle();
    squre = new Squre();
  }

  public void drawCircle(){
    circle.draw();
  }

  public void drawRectangle(){
    rectangle.draw();
  }

  public void drawSqure(){
    squre.draw();
  }

}
